package org.example.user.entity;

public class User {
    public User() {
    }

    private String UserName;
    private String UserEmail;
    private String UserPassWord;
    private String UserSelf;
    private int UserAge;
    private String UserSex;
    private String UserFrom;
    private String UserPicture;
    private String UserRegisterTime;
    private int Power;
    private Long dept_id;

    public Long getDept_id() {
        return dept_id;
    }

    public void setDept_id(Long dept_id) {
        this.dept_id = dept_id;
    }

    public int getPower() {
        return Power;
    }

    public void setPower(int power) {
        Power = power;
    }


    public User(String userName, String userEmail, String userPassWord, int userAge, String userSex, String userFrom, String userRegisterTime,int power,Long deptid) {
    this.UserName=userName;
        this.UserEmail=userEmail;
        this.UserPassWord=userPassWord;
        this.UserAge=userAge;
        this.UserSex=userSex;
        this.UserFrom=userFrom;
        this.UserRegisterTime=userRegisterTime;
        this.Power=power;
        this.dept_id=deptid;
    }

    public User(String userName, String userEmail, String userPassWord, String userSelf, int userAge, String userSex, String userFrom, String userPicture, String userRegisterTime,int power,Long deptid) {
        UserName = userName;
        UserEmail = userEmail;
        UserPassWord = userPassWord;
        UserSelf = userSelf;
        UserAge = userAge;
        UserSex = userSex;
        UserFrom = userFrom;
        UserPicture = userPicture;
        UserRegisterTime = userRegisterTime;
        this.dept_id=deptid;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getUserEmail() {
        return UserEmail;
    }

    public void setUserEmail(String userEmail) {
        UserEmail = userEmail;
    }

    public String getUserPassWord() {
        return UserPassWord;
    }

    public void setUserPassWord(String userPassWord) {
        UserPassWord = userPassWord;
    }

    public String getUserSelf() {
        return UserSelf;
    }

    public void setUserSelf(String userSelf) {
        UserSelf = userSelf;
    }

    public int getUserAge() {
        return UserAge;
    }

    public void setUserAge(int userAge) {
        UserAge = userAge;
    }

    public String getUserSex() {
        return UserSex;
    }

    public void setUserSex(String userSex) {
        UserSex = userSex;
    }

    public String getUserFrom() {
        return UserFrom;
    }

    public void setUserFrom(String userFrom) {
        UserFrom = userFrom;
    }

    public String getUserPicture() {
        return UserPicture;
    }

    public void setUserPicture(String userPicture) {
        UserPicture = userPicture;
    }

    public String getUserRegisterTime() {
        return UserRegisterTime;
    }

    public void setUserRegisterTime(String userRegisterTime) {
        UserRegisterTime = userRegisterTime;
    }
}
